﻿// -----------------------------------------------------------------------
// <copyright file="Revisions_BLL.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace PMSGSC.BLL
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using PMSGSC.DAL;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class Revisions_BLL
    {
        public static List<Revision> GetAll(int JobDescrID)
        {
            return Revisions_DAL.GetAll(JobDescrID);
        }
        public static Revision GetNewRevision()
        {
            return Revisions_DAL.GetNewRevision();
        }
        public static bool Insert(Revision Revision)
        {
            return Revisions_DAL.Insert(Revision);
        }
        public static bool Update(Revision Revision)
        {
            return Revisions_DAL.Update(Revision);
        }
        public static bool Delete(Revision Revision)
        {
            return Revisions_DAL.Delete(Revision);
        }
        public static int GetCountRevision(int id)
        {
            return Revisions_DAL.GetCountRevision(id);
        }
    }
}
